class FavoriteTypeRename < ActiveRecord::Migration[5.2]
  def change
    rename_column :favorites, :favorite_type, :favoriteable_type
    rename_column :favorites, :favorite_id, :favoriteable_id
  end
end
